
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<div class="t_bar">机构拥有知识产权状况: （单位：件）</div>
<table class="t_css table01 " width="100%" border="0" cellpadding="0"
	id="orgInfo" cellspacing="1">
	<tr>
		
		<th colspan="4">专利申请总数</th>
		<th colspan="4">专利授权总数</th>
		<th rowspan="2">软件著作权</th>
		<th rowspan="2">产品设计图</th>
	</tr>
	<tr>
		<th>发明</th>
		<th>实用新型</th>
		<th>外观设计</th>
		<th>合计</th>
		<th>发明</th>
		<th>实用新型</th>
		<th>外观设计</th>
		<th>合计</th>
	</tr>
	<tbody id="tab">
		<tr>
			
			<td align="center"><input type="hidden" name="knowledges/knowledge[0]@sequence_no" value="1">
			<span name="knowledges/knowledge[0]/kr_request_invent"><x:out
						select="$xmlData/data/organization_knowledges/knowledge[@sequence_no='1']/kr_request_invent" />
			</span></td>
			<td align="center"><span
				name="knowledges/knowledge[0]/kr_request_new"><x:out
						select="$xmlData/data/organization_knowledges/knowledge[@sequence_no='1']/kr_request_new" />
			</span></td>
			<td align="center"><span
				name="knowledges/knowledge[0]/kr_request_outward"><x:out
						select="$xmlData/data/organization_knowledges/knowledge[@sequence_no='1']/kr_request_outward" />
			</span></td>
			<td align="center"><span
				name="knowledges/knowledge[0]/kr_request"><x:out
						select="$xmlData/data/organization_knowledges/knowledge[@sequence_no='1']/kr_request" />
			</span></td>
			<td align="center"><span
				name="knowledges/knowledge[0]/kr_auth_invent"><x:out
						select="$xmlData/data/organization_knowledges/knowledge[@sequence_no='1']/kr_auth_invent" />
			</span></td>
			<td align="center"><span
				name="knowledges/knowledge[0]/kr_auth_new"><x:out
						select="$xmlData/data/organization_knowledges/knowledge[@sequence_no='1']/kr_auth_new" />
			</span></td>
			<td align="center"><span
				name="knowledges/knowledge[0]/kr_auth_outward"><x:out
						select="$xmlData/data/organization_knowledges/knowledge[@sequence_no='1']/kr_auth_outward" />
			</span></td>
			<td align="center"><span name="knowledges/knowledge[0]/kr_auth">
					<x:out
						select="$xmlData/data/organization_knowledges/knowledge[@sequence_no='1']/kr_auth" />
			</span></td>
			<td align="center"><span name="knowledges/knowledge[0]/kr_soft">
					<x:out
						select="$xmlData/data/organization_knowledges/knowledge[@sequence_no='1']/kr_soft" />
			</span></td>
			<td align="center"><span name="knowledges/knowledge[0]/kr_ic">
					<x:out
						select="$xmlData/data/organization_knowledges/knowledge[@sequence_no='1']/kr_ic" />
			</span></td>
		</tr>
		<tr>
	<td align="right"><span class="color_red">*</span>企业核心竞争力及行业所处地位：<br/>（限500字）</td>
	<td colspan="9">
	<textarea  name="proposal/position" rows='7' cols='140' class="required textarea maxlength:500" label="企业核心竞争力及行业所处地位"><x:out select="$xmlData/data/proposal/position" /></textarea>
	<input type="hidden" name="proposal/position_hidden" id="proposal/position_hidden" value="">
	</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>目前贷款余额：</td>
	<td colspan="3">
	<input name="proposal/loan_balances" label="目前贷款余额"
			type="text" required class="input_css required"
			style="text-align: right"
			onfocus="InitInput.setNumber(this,7,4,2)"
			value="<x:out select="$xmlData/data/proposal/loan_balances" />" />万元
	</td>
	<td align="right" nowrap><span class="color_red">*</span>近两年贷款总额：</td>
	<td colspan="3">
	<input name="proposal/dk_balances" label="近两年贷款总额"
			type="text" required class="input_css required"
			style="text-align: right"
			onfocus="InitInput.setNumber(this,7,4,2)"
			value="<x:out select="$xmlData/data/proposal/dk_balances" />" />万元
	</td>
	<td align="right" nowrap><span class="color_red">*</span>到期偿还情况：</td>
	<td colspan="2">
	<c:set var="repay_situation_value"><x:out select="$xmlData/data/proposal/repay_situation_value" /></c:set>
		<cpt:select id="repay_situation" key="repay" value="${repay_situation_value}" className="required" label="到期偿还情况"></cpt:select>
		<input type="hidden" name="proposal/repay_situation_value" value="${repay_situation_value}" /> 
		<input type="hidden" name="proposal/repay_situation_name" value="<x:out select="$xmlData/data/proposal/repay_situation_name" />" />
		
	</td>	
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>未偿还到期贷款原因：<br/>（限500字）</td>
	<td colspan="9">
	<textarea  name="proposal/reasons" rows='7' cols='140' class="required textarea maxlength:500" label="未偿还到期贷款原因"><x:out select="$xmlData/data/proposal/reasons" /></textarea>
	<input type="hidden" name="proposal/reasons_hidden" id="proposal/reasons_hidden" value="">
	</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>近两年有无违规记录：<br/>（限500字）</td>
	<td colspan="9">
	<textarea  name="proposal/record" rows='7' cols='140' class="required textarea maxlength:500" label="近两年有无违规记录"><x:out select="$xmlData/data/proposal/record" /></textarea>
	<input type="hidden" name="proposal/record_hidden" id="proposal/record_hidden" value="">
	</td>
	</tr>
	</tbody>
</table>
<br>
<div class="t_bar">近三年曾获政府资助的情况</div>
<table border="0" cellspacing="0" cellpadding="0" class="table01">
	<thead>
		<tr>
			<th align="center" >序号</th>
			<th align="center" >项目名称</th>
			<th align="center">资助部门</th>
			<th align="center">资助金额(万元)</th>
			<th align="center">资助方式</th>
			<th align="center">资助时间</th>
			<th align="center">验收时间/预期验收时间</th>
			<th align="center">验收情况</th>
			<th align="center">偿还情况</th>
			<th align="center">偿还日期</th>
		</tr>
	</thead>
	<tbody id="tab">
		<c:set value="0" var="index" scope="page" />
		<x:forEach
			select="$xmlData/data/organization_research/fund_project"
			var="fund_project">
			<c:choose>
				<c:when test="${index<10}">
					<c:set value="0" var="flag" scope="page" />
				</c:when>
				<c:otherwise>
					<c:set value="" var="flag" scope="page" />
				</c:otherwise>
			</c:choose>
			<tr>
				<td align="center"><span
					name="organizations/organization_research/fund_project[${flag}${index}]@sequence_no">${index+1}</span>
				</td>
				<td align="center"><span
					name="organizations/organization_research/fund_project[${flag}${index}]/ctitle">
						<x:out select="$fund_project/ctitle" />
				</span></td>
				<td align="center"><span
					name="organizations/organization_research/fund_project[${flag}${index}]/award_dept">
						<x:out select="$fund_project/award_dept" />
				</span></td>
				<td align="center"><span
					name="organizations/organization_research/fund_project[${flag}${index}]/award_amt">
						<x:out select="$fund_project/award_amt" />
				</span></td>
				<td align="center"><span
					name="organizations/organization_research/fund_project[${flag}${index}]/award_type_name">
						<x:out select="$fund_project/award_type_name" />
				</span></td>
				<td align="center"><span
					name="organizations/organization_research/fund_project[${flag}${index}]/award_date">
						<x:out select="$fund_project/award_date" />
				</span></td>
				<td align="center"><span
					name="organizations/organization_research/fund_project[${flag}${index}]/accept_date">
						<x:out select="$fund_project/accept_date" />
				</span></td>
				<td align="center"><span
					name="organizations/organization_research/fund_project[${flag}${index}]/accept_flag_name">
						<x:out select="$fund_project/accept_flag_name" />
				</span></td>
				<td align="center"><span
					name="organizations/organization_research/fund_project[${flag}${index}]/repay_flag_name">
						<x:out select="$fund_project/repay_flag_name" />
				</span></td>
				<td align="center"><span
					name="organizations/organization_research/fund_project[${flag}${index}]/repay_date">
						<x:out select="$fund_project/repay_date" />
				</span></td>
			</tr>
			<c:set value="${index+1}" var="index" scope="page" />
		</x:forEach>
	</tbody>
</table>

<br>

<div class="t_bar"><span class="color_red">*</span>单位人员情况（单位：人）</div>
<table class="t_css table01" cellpadding="0" cellspacing="0" width="100%" align="center">
	<tr>
		<td align="right" class="thclass">职工总数：</td>
		<td colspan="1" align="center" class="thclass"><span
			name="organizations/organization[0]/people_count_total" id="people_count_total"> <x:out
					select="$xmlData/data/organization_persons/people_count_total" />
		</span>&nbsp;</td>
		<td colspan="8" class="thclass"></td>
	</tr>
	<tr>
		<td align="right">其中</td>
		<td align="right">博士及博士后：</td>
		<td align="center"><span
			name="organizations/organization[0]/degree_doctor"> <x:out
					select="$xmlData/data/organization_persons/degree_doctor" />
		</span>&nbsp;</td>
		<td align="right">硕士：</td>
		<td align="center"><span
			name="organizations/organization[0]/degree_master"> <x:out
					select="$xmlData/data/organization_persons/degree_master" />
		</span></td>
		<td align="right">本科：</td>
		<td align="center">&nbsp; <span
			name="organizations/organization[0]/degree_bachelor"> <x:out
					select="$xmlData/data/organization_persons/degree_bachelor" />
		</span>&nbsp;
		</td>
		<td align="right">其他：</td>
		<td align="center">&nbsp; <span
			name="organizations/organization[0]/degree_other"> <x:out
					select="$xmlData/data/organization_persons/degree_other" />
		</span>&nbsp;
		</td>
	</tr>
 <tr>
 <td nowrap align="right">大专以上人员数：</td>
<td align='center'><span name="organizations/organization[0]/degree_total" id="degree_total"><x:out select="$xmlData/data/organizations/organization[@submit_org=1]/degree_total" /></span>
<input type="hidden" id='degree_college' value="<x:out select='$xmlData/data/organization_persons/degree_college' />">
<input type="hidden" id='degree_bachelor' value="<x:out select='$xmlData/data/organization_persons/degree_bachelor' />">
<input type="hidden" id='degree_master' value="<x:out select='$xmlData/data/organization_persons/degree_master' />">
<input type="hidden" id='degree_doctor' value="<x:out select='$xmlData/data/organization_persons/degree_doctor' />">
			<script type="text/javascript">
				$(function() {
					var degree_college = $("#degree_college").val();
					var degree_bachelor = $("#degree_bachelor").val();
					var degree_master = $("#degree_master").val();
					var degree_doctor = $("#degree_doctor").val();
					var count = parseInt(degree_college)+ parseInt(degree_bachelor)+ parseInt(degree_master) + parseInt(degree_doctor);
					$("#degree_total").text(count);
					var people_count_total=$("#people_count_total").text();
					var degree_total_percent=parseInt(count)*100/parseInt(people_count_total);
					degree_total_percent = formatNumber(degree_total_percent.toString(), 9, 2, 2);// 格式化
					$("#degree_total_percent").text(degree_total_percent);
					var work_yanfa=$("#work_yanfa").text();
					var work_yanfa_percent=parseInt(work_yanfa)*100/parseInt(people_count_total);
					work_yanfa_percent = formatNumber(work_yanfa_percent.toString(), 9, 2, 2);// 格式化
					$("#work_yanfa_percent").text(work_yanfa_percent);
					
				});
			</script>
</td>
<td nowrap align="right" colspan="2">大专以上人员数占总人数百分比（%）：</td>
<td align="center">
<span name="organizations/organization[0]/degree_total_percent" id="degree_total_percent"><x:out select="$xmlData/data/organizations/organization[@submit_org=1]/degree_total_percent" /></span>
</td>
<td nowrap align="right">研发人员数：</td>
<td align="center">
<span name="organizations/organization[0]/work_yanfa" id="work_yanfa"><x:out select="$xmlData/data/organization_persons/work_yanfa" /></span>
</td>
<td nowrap align="right">研发人员数占总人数百分比（%）：</td>
<td align="center">
<span name="organizations/organization[0]/work_yanfa_percent" id="work_yanfa_percent"><x:out select="$xmlData/data/organizations/organization[@submit_org=1]/work_yanfa_percent" /></span>
</td>
 </tr>	
</table>
<br>
<table class="t_css table01" cellpadding="0" cellspacing="0" width="100%"
	id='orgInfo2' align="center">
        <tr  class="li_2">
        <td rowspan='4' align="right" class="thclass">单位负责人:</td>
        <td align="center">姓名</td>
        <td align="center">出生年月</td>
        <td align="center">任现职时间</td>
        <td align="center">证件号码</td>
        <td align="center">传真</td>
        </tr>
		<tr class="li_1">
		<td align="center"><span name="proposal/responsible_cname"><x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/cname" /></span>&nbsp;</td>
		<td align="center"><c:set var="responsible_date"><x:out select="$xmlData/data/proposal/responsible_date" /></c:set>
		    <cpt:date id="responsible_date" size="9" name="proposal/responsible_date" value="${responsible_date}" className="required date dateCompare:present_date" label="单位负责人出生年月"></cpt:date>&nbsp;
		</td>
		<td align="center"><c:set var="present_date"><x:out select="$xmlData/data/proposal/present_date" /></c:set>
		    <cpt:date id="present_date"  size="9" name="proposal/present_date" value="${present_date}" className="required date" label="单位负责人任现职时间"></cpt:date>&nbsp;
		</td>
		<td align="center" >
		    <input type="hidden" name="proposal/responsible_id_type_name" value="<x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/id_type_name" />">
			<span name="proposal/responsible_id_no"><x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/id_no" /></span>&nbsp;
		</td>
		<td align="center" >
		<input name="proposal/responsible_fax" maxlength="50"  label="单位负责人传真" class="required "  value="<x:out select="$xmlData/data/proposal/responsible_fax" />"/>&nbsp;
		</td>
		</tr>
		 <tr class="li_2">
        <td align="center">最高学历</td>
        <td align="center">专业</td>
        <td align="center">电话</td>
        <td align="center">手机</td>
        <td align="center">Email</td>
        </tr>
        <tr class="li_1">
        <td align="center">
			<span name="proposal/responsible_educate_background_name"><x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/educate_background_name" /></span>&nbsp;
		</td>
        <td align="center">
			<input name="proposal/responsible_major" size="13" maxlength="50" label="单位负责人专业" class="required" value="<x:out select="$xmlData/data/proposal/responsible_major" />"/>&nbsp;
		</td>
        <td align="center">
			<span name="proposal/responsible_tel"><x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/tel" /></span>&nbsp;
			</td>
			<td align="center">
			<span name="proposal/responsible_mobile"><x:out select="$xmlData/data/organization_persons/person[@type='fuzeren']/mobile" /></span>&nbsp;
			</td>
            <td align="center">
			<input name="proposal/responsible_email" maxlength="50"  label="单位负责人电子邮件" class="required email"  value="<x:out select="$xmlData/data/proposal/responsible_email" />"/>&nbsp;
			</td>
        </tr>
        <tr class="li_2">
        <td rowspan='4' align="right" class="thclass">单位法人代表:</td>
        <td align="center">姓名</td>
        <td align="center">出生年月</td>
        <td align="center">任现职时间</td>
        <td  align="center">证件号码</td>
         <td  align="center">传真</td>
        </tr>
        <tr class="li_1">
        <td align="center">
			<span name="proposal/legal_cname"><x:out select="$xmlData/data/organization_persons/person[@type='faren']/cname" /></span>&nbsp;
			</td>
			<td align="center" ><c:set var="legal_date"><x:out select="$xmlData/data/proposal/legal_date" /></c:set>
		    <cpt:date id="legal_date" size="9" name="proposal/legal_date" value="${legal_date}" className="required date dateCompare:legal_present_date" label="单位法人代表出生年月"></cpt:date>&nbsp;
			</td>
			<td align="center" ><c:set var="legal_present_date"><x:out select="$xmlData/data/proposal/legal_present_date" /></c:set>
		    <cpt:date id="legal_present_date" size="9" name="proposal/legal_present_date" value="${legal_present_date}" className="required date" label="单位法人代表任现职时间"></cpt:date>&nbsp;
			</td>
			<td align="center" >
			 <input type="hidden" name="proposal/legal_id_type_name" value="<x:out select="$xmlData/data/organization_persons/person[@type='faren']/id_type_name" />" />
			<span name="proposal/legal_id_no"><x:out select="$xmlData/data/organization_persons/person[@type='faren']/id_no" /></span>&nbsp;
			</td>
			<td align="center" >
		  <input name="proposal/legal_fax" maxlength="50"  label="单位法人代表传真" class="required "  value="<x:out select="$xmlData/data/proposal/legal_fax" />"/>&nbsp;
		</td>
        </tr>
         <tr class="li_2">
        <td align="center">最高学历</td>
        <td align="center">专业</td>
        <td align="center">电话</td>
        <td align="center">手机</td>
        <td align="center">Email</td>
        </tr>
        <tr class="li_1">
        <td align="center">
			<span name="proposal/legal_educate_background_name"><x:out select="$xmlData/data/organization_persons/person[@type='faren']/educate_background_name" /></span>&nbsp;
			</td>
			<td align="center">
			<input name="proposal/legal_major" maxlength="50" size="13" label="单位法人代表专业" class="required"  value="<x:out select="$xmlData/data/proposal/legal_major" />"/>&nbsp;
			</td>
			<td align="center">
			<span name="proposal/legal_tel"><x:out select="$xmlData/data/organization_persons/person[@type='faren']/tel" /></span>&nbsp;
			</td>
			<td align="center">
			<span name="proposal/legal_mobile"><x:out select="$xmlData/data/organization_persons/person[@type='faren']/mobile" /></span>&nbsp;
			</td>
            <td align="center">
			<input name="proposal/legal_email" maxlength="50"  label="单位法人代表电子邮件" class="required email"  value="<x:out select="$xmlData/data/proposal/legal_email" />"/>&nbsp;
			</td>
        </tr>
        
        <tr class="li_2">
        <td rowspan='4' align="right" class="thclass">单位财务负责人:</td>
        <td align="center">姓名</td>
        <td align="center">出生年月</td>
        <td align="center">任现职时间</td>
        <td colspan='2' align="center">身份证号</td>
        </tr>
        <tr class="li_1">
        <td align="center">
			<input name="proposal/caiwu_cname"  label="单位财务负责人姓名" class="required" size='5' maxlength="20" value="<x:out select="$xmlData/data/proposal/caiwu_cname" />"/>&nbsp;
			</td>
			<td align="center" nowrap><c:set var="caiwu_date"><x:out select="$xmlData/data/proposal/caiwu_date" /></c:set>
		    <cpt:date id="caiwu_date" size="9" name="proposal/caiwu_date" value="${caiwu_date}" className="required date dateCompare:caiwu_present_date" label="单位财务负责人出生年月"></cpt:date>&nbsp;
			</td>
			<td align="center" nowrap><c:set var="caiwu_present_date"><x:out select="$xmlData/data/proposal/caiwu_present_date" /></c:set>
		    <cpt:date id="caiwu_present_date" size="9" name="proposal/caiwu_present_date" value="${caiwu_present_date}" className="required date" label="单位财务负责人任现职时间"></cpt:date>&nbsp;
			</td>
			<td align="center" colspan='2'>
			<input name="proposal/caiwu_id_no"  size="20" label='单位财务负责人身份证号' class="required idCard" value="<x:out select="$xmlData/data/proposal/caiwu_id_no" />"/>&nbsp;
			</td>
        </tr>
         <tr class="li_2">
        <td align="center">最高学历</td>
        <td align="center">专业</td>
        <td align="center">电话</td>
        <td align="center">手机</td>
        <td align="center">Email</td>
        </tr>
        <tr class="li_1">
        <td align="center"><c:set var="caiwu_educate_background_value"><x:out select="$xmlData/data/proposal/caiwu_educate_background_value" /></c:set>
			<cpt:select id="caiwu_educate_background" key="educate" value="${caiwu_educate_background_value}" className="required" label="单位财务负责人最高学历"></cpt:select>
			<input type="hidden" name="proposal/caiwu_educate_background_value" value="${caiwu_educate_background_value}" /> 
			<input type="hidden" name="proposal/caiwu_educate_background_name" value="<x:out select="$xmlData/data/proposal/caiwu_educate_background_name" />" />
			</td>
		</td>
			<td align="center">
			<input name="proposal/caiwu_major"  maxlength="50" size="13" label="单位财务负责人专业" class="required"  value="<x:out select="$xmlData/data/proposal/caiwu_major" />"/>&nbsp;
			</td>
			<td align="center">
			<input name="proposal/caiwu_tel" label="单位财务负责人电话"  size="13" maxlength="20" class="required" value="<x:out select="$xmlData/data/proposal/caiwu_tel" />"/>&nbsp;
			</td>
			<td align="center">
			<input name="proposal/caiwu_mobile"   label="单位财务负责人手机号码" class="required mobile"  maxlength="11"  value="<x:out select="$xmlData/data/proposal/caiwu_mobile" />"/>&nbsp;
			</td>
            <td align="center">
			<input name="proposal/caiwu_email"  label="单位财务负责人电子邮件" class="required email"  maxlength="50"  value="<x:out select="$xmlData/data/proposal/caiwu_email" />"/>&nbsp;
			</td>
        </tr>
</table>
